package com.nnnu.orange.pojo.dto;

import lombok.*;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class BorrowingQueryDto {
    private Integer pageNum = 1, pageSize = Integer.MAX_VALUE;
    private Integer bookId; // 图书ID
    private Integer status; // 借阅状态
    private LocalDateTime borrowDateStart; // 借阅开始日期
    private LocalDateTime borrowDateEnd; // 借阅结束日期
    private LocalDateTime dueDateStart; // 应还开始日期
    private LocalDateTime dueDateEnd; // 应还结束日期
    private LocalDateTime returnDateStart; // 归还开始日期
    private LocalDateTime returnDateEnd; // 归还结束日期


}
